home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 22 / PC Actual CD 22.iso / SHARE / prog / POVRAY / TREES.ZIP / tree1.pov < prev    next >
Encoding:
Text File  |  1997-03-19  |  3.0 KB  |  130 lines

  1. // c1997 by Stephan Kuhagen
  2. // stk@informatik.uni-bremen.de
  3. // mail me, send postcards, show me your pictures
  4.  
  5. #include "colors.inc"
  6. #include "leafshapes.inc"
  7.  
  8. light_source { <100 , 50, 100> color White }
  9. light_source { <10 , 5, 100> color White }
  10.  
  11.  
  12. camera
  13. {
  14.  location <0 , 0, 58>
  15.  look_at  <0 , 20, 0>
  16. }
  17.  
  18. #declare LEAFINC_0 =
  19. object
  20. {
  21.   LEAFSHAPE_00
  22.   texture{
  23.     pigment{ bozo
  24.       color_map {
  25.     [0 color rgb <.25,0,0>]
  26.     [1 color rgb <1,0,0>]
  27.       }
  28.       scale 0.025
  29.     }
  30.     finish{
  31.       ambient 0.2
  32.       diffuse 0.8
  33.       specular 0.6
  34.     }
  35.     normal{bozo 0.1
  36.       scale 0.05
  37.     }
  38.   }
  39.   scale 0.3
  40. }
  41.  
  42. #declare LEAFINC_1 =
  43. object
  44. {
  45.   LEAFSHAPE_01
  46.   texture{
  47.     pigment{ bozo
  48.       color_map {
  49.     [0 color rgb <1,0,0>]
  50.     [1 color rgb <.25,0.66,0>]
  51.       }
  52.       scale 0.025
  53.     }
  54.     finish{
  55.       ambient 0.2
  56.       diffuse 0.8
  57.       specular 0.6
  58.     }
  59.     normal{bozo 0.1
  60.       scale 0.05
  61.     }
  62.   }
  63.   scale <0.3, 0.3, 1>
  64. }
  65.  
  66. #declare LEAFINC_2 =
  67. object
  68. {
  69.   LEAFSHAPE_01
  70.   texture{
  71.     pigment{ bozo
  72.       color_map {
  73.     [0 color rgb <.25,0,0>]
  74.     [1 color rgb <.75,.66,0>]
  75.       }
  76.       scale 0.025
  77.     }
  78.     finish{
  79.       ambient 0.2
  80.       diffuse 0.8
  81.       specular 0.6
  82.     }
  83.     normal{bozo 0.1
  84.       scale 0.05
  85.     }
  86.   }
  87.   scale <0.3, 0.3, 1>
  88. }
  89.  
  90.  
  91. #declare MOD_TR = texture { pigment { color VeryDarkBrown }  normal { bozo 0.8 scale <0.05, 0.2, 0.10> } finish{ ambient 0.4 } }
  92. #declare MOD_0  = texture { pigment { color DarkBrown } normal { bozo 0.8 scale <0.05, 0.2, 0.10> } finish{ ambient 0.2 } }
  93. #declare MOD_1  = texture { pigment { color DarkBrown } normal { bozo 0.8 scale <0.05, 0.2, 0.10> } finish{ ambient 0.2 } }
  94. #declare MOD_2  = texture { pigment { color DarkBrown } normal { bozo 0.8 scale <0.05, 0.2, 0.10> } finish{ ambient 0.2 } }
  95. #declare MOD_3  = texture { pigment { color DarkBrown } normal { bozo 0.8 scale <0.05, 0.2, 0.10> } finish{ ambient 0.2 } }
  96. #declare MOD_4  = texture { pigment { color DarkBrown } normal { bozo 0.8 scale <0.05, 0.2, 0.10> } finish{ ambient 0.2 } }
  97. #declare MOD_5  = texture { pigment { color DarkBrown } normal { bozo 0.8 scale <0.05, 0.2, 0.10> } finish{ ambient 0.2 } }
  98. #declare MOD_6  = texture { pigment { color DarkBrown } normal { bozo 0.8 scale <0.05, 0.2, 0.10> } finish{ ambient 0.2 } }
  99. #declare MOD_7  = texture { pigment { color DarkBrown } normal { bozo 0.8 scale <0.05, 0.2, 0.10> } finish{ ambient 0.2 } }
  100. #declare MOD_8  = texture { pigment { color DarkBrown } normal { bozo 0.8 scale <0.05, 0.2, 0.10> } finish{ ambient 0.2 } }
  101.  
  102.  
  103. #declare BLEN=10
  104. #declare RADIUS=1.1
  105. #declare TRUNKBASER=1.6
  106. #declare TRUNKCAPR=1.1
  107. #declare LDIFF=1
  108. #declare RADSCALE=0.6
  109. #declare RDIFF=0.3
  110. #declare RECSCALE=0.8
  111. #declare SLOPEANGLE=40
  112. #declare SANGLEDIFF=20
  113. #declare ANGLESCALE=1
  114. #declare NRBDIFF=0
  115. #declare RANDINIT_ROT=111111111
  116. #declare NRBSCALEADD=-0.5
  117. #declare BRANCHTOP=0.4
  118. #declare DEPTH= 8
  119. #declare NRBRANCHES="sqrt(X)+2"
  120. #declare USESTDTRUNK="YES"
  121. #declare TRUNKLEN=14
  122.  
  123. #declare LEAFINC = "YES"
  124. #declare NRLEAFINCS = 3
  125. #declare NRLEAFS = 5
  126.  
  127. #include "selftree.inc"
  128. #include "test.inc"
  129.  
  130.